<?php
	 $user = $controller->getCurrentUser();    
	//on verifie les permissions
	if ($user->isAllowedTo(GRADE_MOD_BOOK))
	{
		$cotationsList = book::getCotationList();
		$controller->setVar('cotationsList',$cotationsList);
		$controller->render('changeBook');
	}
	else
		$controller->render('errorRights');
	
?>
